//
//  HeadView.m
//  LastTemp
//
//  Created by dllo on 15/4/22.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "HeadView.h"

@implementation HeadView
- (void)dealloc
{
    [_headTextLabel release];
    [super dealloc];
}
-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self createHead];
    }
    return self;
}
- (void)createHead{
    self.headTextLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 0, self.frame.size.width, self.frame.size.height)];
    [self addSubview:self.headTextLabel];
    self.headTextLabel.textColor = [UIColor whiteColor];
    [_headTextLabel release];
}
@end
